﻿<%@ Page Language="C#" MasterPageFile="~/admin.master" AutoEventWireup="true" CodeFile="A_KhachHang.aspx.cs" Inherits="admin_A_KhachHang" Title="Untitled Page" %>

<%@ Register Assembly="ASPnetPagerV2_8" Namespace="ASPnetControls" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="menuPlaceHolder" Runat="Server">
  <img src="images/thongtin_canhan.png" alt=""/><br />
                &nbsp; &nbsp; Chào :<br />
                  &nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp;&nbsp;&nbsp;
                <a href="#"> &nbsp; &nbsp; &nbsp; &nbsp; Thay đổi thông tin</a>
                &nbsp; &nbsp; &nbsp; &nbsp;
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;<a href="#"> &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; Login</a><br />
                <img src="images/quanly_binhluan.png"  alt=""/><br />
               <a href="#"> &nbsp; &nbsp;&nbsp;
                   <br />
                   &nbsp; Quản Lý Bình Luận</a><br />
                <br />
                <img src="images/quanly_cuahang.png" alt=""/><br />
                &nbsp;&nbsp;  <a href="#">&nbsp;&nbsp; Tình trạng bán hàng<br />
                    <br />
                    <br />
                    <br />
                </a>
                <br />
                <br />
                <br />
                <br />
                <img src="images/quanLy_taikhoan.png" alt=""/><br />
                <br /><a href="#">
                &nbsp; Tìm,Cập Nhật Tài Khoản</a><br />
                <br />
                <img src="images/thongke.png" alt=""/>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div style="padding:12px 12px 12px 12px;">
 <div>
       
        <div class="title">
            Danh Sách Khách Hàng
        </div>
        <div style="width:100%;">
            <div style="display:table-cell; width:75%;float:left;">
                Tên Khách Hàng:
                <asp:TextBox ID="txt_TenNV" runat="server" Width="122px"></asp:TextBox>
                <asp:Button ID="btn_Search" runat="server" Text="Tìm kiếm" OnClick="btn_Search_Click" />
            </div>
            <div class="addnewrow" style="display:table-cell; width:23%;float:right;">
                    <a href="#">Thêm Mới Khách Hàng</a> | 
                <asp:LinkButton ID="lbt_Xoa" runat="server" OnClick="lbt_Xoa_Click">Xóa</asp:LinkButton>
                    
            </div>        
        </div>
        <div>
            <asp:Repeater ID="Repeater1" runat="server">
            <HeaderTemplate >
            <table cellspacing ="1" cellpadding ="3" width ="100%" bccolor="#cccccc" border="0">
            <thead >
                <tr class ="listtableheader">
                    <th> Mã KH</th>
                    <th> Tên Khách Hàng</th>
                    <th> Mã Loại Người Dùng</th> 
                    <th> Email</th>
                    <th> Địa Chỉ</th>
                    <th >Điện Thoại</th> 
                    <th>Hình Ảnh</th>
                    <th >Giới Tính</th>
                    <th> Sửa</th>
                    <th>
                    <input id="cb_ALL" type="checkbox" onclick ="CheckAll(1);" />
                    <a href ="javascript:CheckAll(2)">Chọn hết</a>
                    </th>
                </tr>
            </thead>
            <tbody >
            </HeaderTemplate>
            <ItemTemplate >
                <tr>
                    <td><%#Eval ("MAKH")%></td>
                    <td> <asp:HyperLink ID="hyp_TenNv" runat ="server"></asp:HyperLink> </td>
                    <td> <asp:Literal ID ="lit_manguoidung" runat ="server"></asp:Literal> </td>
                    <td><%#Eval("EMAIL")%></td>
                    <td><%#Eval("MATKHAU")%></td>
                    <td><%#Eval("DIACHI")%></td>
                    <td>
                    <asp:Image ID="img_HinhAnh" runat="server" />
                    </td>
                    <td><%#Eval("GIOITINH")%></td>
                    <td> <asp:HyperLink ID ="hpl_edit" Text ="Edit" runat ="server" /></td>
                    <td>
                        <asp:CheckBox ID="cb_xoa" runat ="server" />
                        <asp:HiddenField ID="hf_id" Value ='<%Eval ("MANV") %>'  runat ="server" />   
                    </td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </tbody>
            </table>
            </FooterTemplate>
            </asp:Repeater>
            </div>
<div>
            <div style ="width :100%;">
                <cc1:PagerV2_8 ID="Pager" runat="server" OnCommand="Pager_Command" />
            </div>
    </div>
    </div>
    </div>
</asp:Content>

